Component({
    properties: {
        type: {
            type: [ String, null ],
            value: "text"
        },
        desc: {
            type: [ String, null ],
            value: ""
        },
        url: {
            type: [ String, null ],
            value: ""
        },
        size: {
            type: null,
            value: "26"
        },
        color: {
            type: String,
            value: "#999"
        }
    },
    methods: {
        onClick: function() {
            var e = this.data.url;
            e && wx.navigateTo({
                url: "/pages/webview/index?src=" + e
            });
        }
    }
});